home *** CD-ROM | disk | FTP | other *** search
- -- card: 4907 from stack: in
- -- bmap block id: 4498
- -- flags: 4000
- -- background id: 4179
- -- name: User Preferences
- ----- HyperTalk script -----
- on openCard
- put the long date into card field "loc date"
- setUserLevel the userLevel
- end openCard
-
- on idle
- put the time into card field "Time"
- pass idle
- end idle
-
-
- on setUserLevel whatLevel
- set userLevel to whatLevel
- if the userLevel is whatLevel then
- put the userLevel into card field "User Level"
- set hilite of button "Browsing" to the userLevel = 1
- set hilite of button "Typing" to the userLevel = 2
- set hilite of button "Painting" to the userLevel = 3
- set hilite of button "Authoring" to the userLevel = 4
- set hilite of button "Scripting" to the userLevel = 5
- set visible of button "Power Keys" to the userLevel >= 3
- set visible of button "Blind Typing" to the userLevel = 5
- set hilite of button "Power Keys" to the powerKeys
- set hilite of button "Blind Typing" to the blindTyping
- else
- set hilite of the target to false
- end if
- end setUserLevel
-
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=379 top=63 right=86 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Browsing
- ----- HyperTalk script -----
- on mouseUp
- setUserLevel 1
- end mouseUp
-
-
-
- -- part 2 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=379 top=117 right=142 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Painting
- ----- HyperTalk script -----
- on mouseUp
- setUserLevel 3
- end mouseUp
-
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=379 top=145 right=169 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Authoring
- ----- HyperTalk script -----
- on mouseUp
- setUserLevel 4
- end mouseUp
-
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: E003
- -- rect: left=379 top=172 right=197 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Scripting
- ----- HyperTalk script -----
- on mouseUp
- setUserLevel 5
- end mouseUp
-
-
-
- -- part 5 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=395 top=225 right=246 bottom=494
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Power Keys
- ----- HyperTalk script -----
- on mouseUp
- set powerKeys to the hilite of button "Power Keys"
- end mouseUp
-
-
-
- -- part 8 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=378 top=88 right=114 bottom=512
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Typing
- ----- HyperTalk script -----
- on mouseUp
- setUserLevel 2
- end mouseUp
-
-
-
- -- part 9 (field)
- -- low flags: 81
- -- high flags: 0000
- -- rect: left=173 top=125 right=144 bottom=198
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: User Level
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=396 top=248 right=272 bottom=494
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Blind Typing
- ----- HyperTalk script -----
- on mouseUp
- set blindTyping to the hilite of button "Blind Typing"
- end mouseUp
-
-
-
- -- part 16 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=48 top=302 right=318 bottom=281
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 2
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: loc date
-
-
- -- part 17 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=127 top=318 right=334 bottom=197
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 2
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Time
-
-
- -- part 24 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=430 top=281 right=309 bottom=460
- -- title width / last selected line: 0
- -- icon id / first selected line: 32462 / 32462
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: help
- ----- HyperTalk script -----
- on mouseUp
- go to stack "Help"
- end mouseUp
-
-
-
- -- part contents for card part 9
- ----- text -----
- 5
-
- -- part contents for card part 17
- ----- text -----
- 21:36
-
- -- part contents for card part 16
- ----- text -----
- Friday, November 27, 1987